//
//  mmjShopCollectionViewCell.m
//  瀑布流
//
//  Created by 梅敏杰 on 2018/6/7.
//  Copyright © 2018年 梅敏杰. All rights reserved.
//

#import "mmjShopCollectionViewCell.h"

@implementation mmjShopCollectionViewCell

-(void)setModel:(mmjShopModel *)model{
    _model = model;
    
    // 1.图片
    [self.imageview sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:[UIImage imageNamed:@"loading"]];
    
    // 2.价格
    self.pricelabel.text = model.price;
}

@end
